package com.company.cls.Anonymous_class;

public class Myclass {
    public ITest getTest(){
        return new ITest(){
            @Override
            public void print1() {
                System.out.println("this is ITest's function!");
            }
        };

    }
}
